package June04Abs;

public class Dog extends Animal{
    public Dog() {
    }

    public Dog(String name, Integer age) {
        super(name, age);
    }


    @Override
    public void eat(String food) {
        System.out.println(getName()+"吃了"+food);
    }
}
